import {MenuItem} from "./model";

/**
 * Created by Administrator on 2018/9/4 0004.
 * 本地开发使用菜单
 * 生产环境中菜单信息将由登录接口返回
 */
const supplier: MenuItem = {
  menuName: "supplier",
  menuIcon: 'anticon anticon-shop',
  menuUrl: '/main/supplier',
  subMenuList: [
  ]
};
const sample: MenuItem = {
  menuName: "sample",
  menuIcon: 'anticon anticon-shop',
  menuUrl: '/main/sample',
  subMenuList: [
  ]
};
const test: MenuItem = {
  menuName: "test",
  menuIcon: 'anticon anticon-shop',
  menuUrl: '/main/test',
  subMenuList: [
    {
      menuName: "testOpt",
      menuUrl: '/main/test/testOpt'
    },
    {
      menuName: "testOption",
      menuUrl: '/main/test/testOption'
    },
    {
      menuName: "testRecord",
      menuUrl: '/main/test/testRecord'
    },
    {
      menuName: "testUnit",
      menuUrl: '/main/test/testUnit'
    }
  ]
};


export const MENUS = [
  supplier,sample,test
];

